package com.netposa.datawarehouse.aggregator.web.vo;

public class FileSearchParam {
   private String sessionKey;
   private int count = 1000;
   private FeatureSearchParam fileParam;
   private FeatureSearchParam realParam;

   public String getSessionKey() {
      return this.sessionKey;
   }

   public int getCount() {
      return this.count;
   }

   public FeatureSearchParam getFileParam() {
      return this.fileParam;
   }

   public FeatureSearchParam getRealParam() {
      return this.realParam;
   }

   public void setSessionKey(String sessionKey) {
      this.sessionKey = sessionKey;
   }

   public void setCount(int count) {
      this.count = count;
   }

   public void setFileParam(FeatureSearchParam fileParam) {
      this.fileParam = fileParam;
   }

   public void setRealParam(FeatureSearchParam realParam) {
      this.realParam = realParam;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof FileSearchParam)) {
         return false;
      } else {
         FileSearchParam other = (FileSearchParam)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$sessionKey = this.getSessionKey();
            Object other$sessionKey = other.getSessionKey();
            if (this$sessionKey == null) {
               if (other$sessionKey != null) {
                  return false;
               }
            } else if (!this$sessionKey.equals(other$sessionKey)) {
               return false;
            }

            if (this.getCount() != other.getCount()) {
               return false;
            } else {
               Object this$fileParam = this.getFileParam();
               Object other$fileParam = other.getFileParam();
               if (this$fileParam == null) {
                  if (other$fileParam != null) {
                     return false;
                  }
               } else if (!this$fileParam.equals(other$fileParam)) {
                  return false;
               }

               Object this$realParam = this.getRealParam();
               Object other$realParam = other.getRealParam();
               if (this$realParam == null) {
                  if (other$realParam != null) {
                     return false;
                  }
               } else if (!this$realParam.equals(other$realParam)) {
                  return false;
               }

               return true;
            }
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof FileSearchParam;
   }

   public int hashCode() {
      
      int result = 1;
      Object $sessionKey = this.getSessionKey();
      result = result * 59 + ($sessionKey == null ? 43 : $sessionKey.hashCode());
      result = result * 59 + this.getCount();
      Object $fileParam = this.getFileParam();
      result = result * 59 + ($fileParam == null ? 43 : $fileParam.hashCode());
      Object $realParam = this.getRealParam();
      result = result * 59 + ($realParam == null ? 43 : $realParam.hashCode());
      return result;
   }

   public String toString() {
      return "FileSearchParam(sessionKey=" + this.getSessionKey() + ", count=" + this.getCount() + ", fileParam=" + this.getFileParam() + ", realParam=" + this.getRealParam() + ")";
   }
}
